package cn.xf;

/**
 * 测试拷贝
 */
public class TestClone {

    public static void main(String[] args) throws CloneNotSupportedException {
        /*Person p = new Person();
        p.setUsername("1111");
        Person p1 = (Person) p.clone();
        System.out.println(p);
        System.out.println(p1);
        System.out.println(p.getUsername()==p1.getUsername());*/
    }
}
